﻿using System;
using System.Collections.Generic;

namespace BenCaoXuan.Infrastructure.EFCore.MySql;

/// <summary>
/// 客户表
/// </summary>
public partial class Custom
{
    /// <summary>
    /// 客户ID，主键
    /// </summary>
    public string CId { get; set; } = null!;

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CCreateTime { get; set; }

    /// <summary>
    /// 是否转换VIP：1-正式客户，0-潜在客户  -1公海客户
    /// </summary>
    public int CIsConvert { get; set; }

    /// <summary>
    /// 客户名称
    /// </summary>
    public string? CName { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    public string? CPassword { get; set; }

    /// <summary>
    /// 联系电话
    /// </summary>
    public string? CPhone { get; set; }

    /// <summary>
    /// 客户备注信息
    /// </summary>
    public string? CRemark { get; set; }

    /// <summary>
    /// 客户来源：广告 介绍 自行上门 关联字典表
    /// </summary>
    public string? CResource { get; set; }

    /// <summary>
    /// 盐
    /// </summary>
    public string? CSalt { get; set; }

    /// <summary>
    /// 跟进状态 0-跟进中 1-已完成 2-待跟进
    /// </summary>
    public int? CStatus { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? CUpdateTime { get; set; }
}
